package decorator.a;

public class Soy implements CondimentDecorator {
	
	private Beverage beverage;

	public Soy(Beverage beverage) {
		super();
		this.beverage = beverage;
	}

	public double cost() {
		return beverage.cost() + 1.0;
	}

	public String getDescription() {
		return beverage.getDescription()+","+"soy";
	}

}
